export const menus = [
  {
    'caption': '订单',
    'id': 'order',
    'h5_mode': 1,
    'submenus': [
      { to: '/flt/orders', caption: '机票订单', authorized: 1 },
      { to: '/flt/orders/print', caption: '待打印订单', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/flt/refund/orders', caption: '机票退票单', authorized: 1 },
      { to: '/flt/change/orders', caption: '机票改签单', authorized: 1 },
      { to: '', caption: '' },
      { to: '/insurance/orders', caption: '保险订单', authorized: 1 },
      { to: '', caption: '' },
      { to: '/vas/orders', caption: '服务订单', authorized: 1 },
      { to: '/vaas/orders', caption: '机场服务订单', authorized: 1 },
      { to: '', caption: '' },
      { to: '/hotel/orders', caption: '酒店订单', authorized: 1 },
      { to: '/train/orders', caption: '火车票订单', authorized: 1 },
      { to: '/train/refund/orders', caption: '火车退票单', authorized: 1 },
      { to: '/car/orders', caption: '租车订单', authorized: 1, 'h5_mode': 0 },
      { to: '/attractions/ticket/orders', caption: '门票订单', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/delivery/notes', caption: '配送单', authorized: 1, 'h5_mode': 0 }
    ]
  },
  {
    caption: '对账',
    id: 'statement',
    submenus: [
      { to: '/statement/settlements', caption: '结算单', authorized: 1 },
      { to: '/statement/receipts', caption: '收(退)款单', authorized: 1 }
    ]
  },
  {
    caption: '账单',
    'h5_mode': 1,
    id: 'bills',
    submenus: [
      { to: '/bills', caption: '账单', authorized: 1 },
      { to: '/bills_v2', caption: '账单(new)', authorized: 1 },
      { to: '', caption: '' },
      { to: '/bills/unreviewed', caption: '待审核账单', authorized: 1, 'h5_mode': 0 },
      { to: '/tasks', caption: '任务', authorized: 1, 'h5_mode': 0 },
      { to: '/bills/unreviewed_v2', caption: '待审核账单(新）', authorized: 1, 'h5_mode': 0 },
      { to: '/flt/tickets', caption: '待审核账单-机票', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/bills/toSettle', caption: '待结算账单', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/flt/refunds', caption: '账单-退票明细', authorized: 1, 'h5_mode': 0 },
      { to: '/train/tickets', caption: '账单-火车票', authorized: 1, 'h5_mode': 0 },
      { to: '/hotel/bills', caption: '账单-酒店', authorized: 1, 'h5_mode': 0 }
    ]
  },
  {
    caption: '财务',
    id: 'account',
    submenus: [
      { to: '/ent/settlements', caption: '结算单', authorized: 1 },
      { to: '/ent/receipts', caption: '收(退)款单', authorized: 1 }
    ]
  },
  {
    caption: '报表',
    'h5_mode': 1,
    id: 'report',
    submenus: [
      { to: '/report/sale/month', caption: '月报', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/report/refund/month', caption: '退票报表', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/report/statistic/monthly', caption: '月统计', authorized: 1, 'h5_mode': 1 },
      { to: '/report/paymentMethod/statistic', caption: '支付方式统计', authorized: 1, 'h5_mode': 0 },
      { to: '/report/stat/supplier', caption: '供应商统计', authorized: 1, 'h5_mode': 1 },
      { to: '/report/stat/airlines', caption: '航空公司统计', authorized: 1, 'h5_mode': 1 },
      { to: '', caption: '' },
      { to: '/report/stat/op1', caption: '预订员统计', authorized: 1, 'h5_mode': 0 },
      { to: '/report/stat/op2', caption: '出票员统计', authorized: 1, 'h5_mode': 0 },
      { to: '/report/stat/salesman', caption: '销售员统计', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/report/monthly/op1', caption: '预订员月报', authorized: 1, 'h5_mode': 0 },
    ]
  },
  {
    caption: '客户',
    'h5_mode': 1,
    id: 'customer',
    submenus: [
      { to: '/customers', caption: '企业信息', authorized: 1 },
      { to: '/customer/departments', caption: '企业部门信息', authorized: 1 },
      { to: '/passengers', caption: '企业员工信息', authorized: 1 },
      { to: '/admin/members', caption: '会员管理', authorized: 1, 'h5_mode': 1 },
      { to: '/customer/cost-centers', caption: '企业-订单备注', authorized: 1 },
      { to: '', caption: '' },
      { to: '/ent/balances', caption: '企业授信', authorized: 1 },
      { to: '', caption: '' },
      { to: '/customer/todos', caption: '待处理', authorized: 1, 'h5_mode': 0 }
    ]
  },
  // {
  //   caption: '平台',
  //   submenus: [
  //     { to: '/tbooking/orders', caption: '携程出票单', authorized: 1 },
  //     { to: '/tbooking/tickets', caption: '携程票号', authorized: 1 },
  //     { to: '', caption: '' },
  //     { to: '/tbooking/policies', caption: '携程国内政策-比价'},
  //     { to: '/tbooking/policy-upload', caption: '携程国内政策-上传'},
  //     { to: '', caption: '' },
  //     { to: '/tbooking/intl/policies', caption: '携程国际政策-比价'},
  //   ]
  // },
  {
    caption: '工具',
    'h5_mode': 1,
    id: 'tools',
    submenus: [
      { to: '/tool/sms', caption: '短信', authorized: 1 },
      { to: '/catch/orders', caption: '追位订单', authorized: 0 },
      { to: '', caption: '' },
      { to: '/data/airports', caption: '机场信息', authorized: 0, 'h5_mode': 1 },
      { to: '/data/cities', caption: '城市信息', authorized: 0, 'h5_mode': 0 },
      { to: '/data/airlines', caption: '航空公司信息', authorized: 0, 'h5_mode': 1 },
      { to: '/data/subclasses', caption: '舱位信息', authorized: 0, 'h5_mode': 1 },
      { to: '/data/luggages', caption: '行李额信息', authorized: 0, 'h5_mode': 1 },
      { to: '', caption: '' },
      { to: '/tprs', caption: 'TPR数据', authorized: 0, 'h5_mode': 1 },
      { to: '/tool/qinfos', caption: 'Q列表', authorized: 1, 'h5_mode': 0 },
      { to: '/tool/fd/request', caption: 'FD下载请求', authorized: 0, 'h5_mode': 0 },
      { to: '/tool/fd/result', caption: 'FD结果', authorized: 0, 'h5_mode': 0 },
      { to: '/tool/pnrs', caption: 'PNR列表', authorized: 1, 'h5_mode': 1 },
      { to: '/tool/detr/result', caption: 'Detr结果', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/data/airline/schedules', caption: '航班时刻', authorized: 0, 'h5_mode': 0 },
      { to: '/tool/eterm', caption: '黑屏指令', authorized: 1, 'h5_mode': 1 },
      { to: '/charter-flights', caption: '团队机票', authorized: 1, 'h5_mode': 0 },
    ]
  },
  {
    caption: '设置',
    'h5_mode': 1,
    id: 'settings',
    submenus: [
      { to: '/admin/users', caption: '员工管理', authorized: 1, 'h5_mode': 1 },
      { to: '/admin/depts', caption: '部门管理', authorized: 1, 'h5_mode': 1 },
      { to: '/admin/customerServiceGroups', caption: '客户服务分组', authorized: 1, 'h5_mode': 0 },
      { to: '/admin/customerServiceTemplates', caption: '服务费模板', authorized: 1, 'h5_mode': 0 },
      { to: '/admin/settlementReportTemplates', caption: '结算单报表模板', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      { to: '/admin/role/privileges', caption: '角色权限', authorized: 1, 'h5_mode': 0 },
      { to: '/admin/groups', caption: '组管理', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },

      { to: '/suppliers', caption: '供应商', authorized: 1, 'h5_mode': 1 },
      { to: '/api-product-suppliers', caption: '供应商(接口产品)', authorized: 1, 'h5_mode': 0 },
      { to: '/payments', caption: '支付方式', authorized: 1, 'h5_mode': 1 },
      { to: '/incomes', caption: '收款方式备注', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },

      { to: '/products', caption: '服务产品', authorized: 1, 'h5_mode': 1 },
      { to: '/fakedTicket', caption: '模拟票号航司', authorized: 1, 'h5_mode': 0 },
      { to: '/setting/fuel-surcharge', caption: '燃油附加费', authorized: 1, 'h5_mode': 0 },
      { to: '/admin/keyCustomerPolicies', caption: '机票私有政策', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },

      { to: '/attractions', caption: '景点信息', authorized: 1, 'h5_mode': 0 },
      { to: '/admin/vehicleGroups', caption: '车型组', authorized: 1, 'h5_mode': 0 },
      { to: '', caption: '' },
      
      { to: '/admin/patcodes', caption: '旅行代码', authorized: 1, 'h5_mode': 0 },
    ]
  },
  {
    caption: '微信公众号',
    'h5_mode': 1,
    id: 'weixin',
    submenus: [
      { to: '/wxs/menus', caption: '自定义菜单', authorized: 1, 'h5_mode': 1 },
      { to: '/wxs/users', caption: '用户管理', authorized: 1, 'h5_mode': 1 }
    ]
  },
  {
    caption: '企业微信',
    'h5_mode': 1,
    id: 'work-weixin',
    submenus: [
      { to: '/ww/appchats', caption: '群聊会话', authorized: 1, 'h5_mode': 1 },
    ]
  }
]